#ifndef _CHK_BUTTON_BAR_H
#define _CHK_BUTTON_BAR_H

#include <vector>
#include <boost/shared_ptr.hpp>

#include "geom.h"

class Scene;
class CheckButton;

class ChkButtonBar
{
public:
    ChkButtonBar(boost::shared_ptr<Scene> scene, const int size);
    virtual ~ChkButtonBar(void);

    bool initialize(const Dimension& dim, const Vector3& initialPos, const Vector3& offset);
    void prepare(float dt);
    void render(void);

    void setValue(const float val);
    float getValue(void) const { return m_value; }

private:
    boost::shared_ptr<Scene> m_scene;
    int m_size;
    std::vector<CheckButton*> m_bar;
    float m_value;

};

#endif
